<?php 
interface IArrowBaseCriteria {
	
	// poniższe funkcje muszą zwraca obiekt IBaseCriteria
	public function __constructor(  $column, $value, $condition=self::C_EQUAL ) ;
	
	public function addOr( $column, $value, $condition=self::C_EQUAL );
	public function addOr( IArrowBaseCriteria $criteria );
	
	public function addAnd( $column, $value, $condition=self::C_EQUAL ) ;
	public function addAnd( IArrowBaseCriteria $criteria );
		
	public function removeCondition( $id );
	
	public function getConditions();
	
}

?>